package com.mijie.core;

public interface CoreStatusCode {

	//200级别
	public int PROC_SUCCESS = 200001;
	
	
	//205级别
	public int EMPTY_RESULT = 205001;
	
	
	//400级别，请求检查级别错误
	public int PARAM_ABSENT = 400001;
	public int TOKEN_ABSENT = 400002;
	public int NICKNAME_FORMAT_ERROR = 400003;
	public int NICKNAME_OCCUPIED = 400004;
	public int NICKNAME_LENGTH_LIMIT = 400005;
	public int EMAIL_FORMAT_ERROR = 400006;
	public int EMAIL_OCCUPIED = 400007;
	public int EMAIL_NOT_VERIFY = 400008;
	public int MOBILE_FORMAT_ERROR = 400009;
	public int MOBILE_OCCUPIED = 400010;
	public int MOBILE_NOT_VERIFY = 400011;
	public int PASSWORD_FORMAT_ERROR = 400012;
	public int PASSWORD_LENGTH_LIMIT = 400013;
	public int UPLOAD_FILE_ABSENT = 400014;
	public int UPLOAD_FILE_ILLEGAL = 400015;
	public int UPLOAD_FILE_SIZE_LIMIT = 400016;
	public int CONTENT_ILLEGAL = 400017;
	public int CONTENT_FORMAT_ERROR = 400018;
	public int CONTENT_LENGTH_LIMIT = 400019;
	public int RELATIONSHIP_ERROR = 400020;
	public int LAST_ONE_RECORD = 400021;
	
	//401级别，验证级别错误
	public int TOKEN_EXPRIED = 401002;
	public int TOKEN_ILLEGAL = 401003;
	public int TOKEN_OCCUPIED = 401004;
	public int PASSWORD_ERROR = 401005;
	public int USER_NOT_LOGGED = 401006;
	public int USER_NOT_FOUND = 401007;
	public int USER_BLOCKED = 401008;
	public int THIRDPART_ACCOUNT_NOT_FOUND = 401009;
	
	
	//403级别，访问权限级别错误
	public int AUTH_FAIL = 403001;
	public int PERMISSION_ERROR = 403002;
	public int POSSESSION_ERROR = 403003;
	
	
	//404级别，访问资源级别错误
	public int RECORD_NOT_FOUND = 404001;
	public int RECORD_BLOCKED = 404002;
	
	//412级别，请求条件未满足要求
	public int UNSATISFIED = 412001;
	
	//500级别，程序错误级别
	public int API_EXCEPTION = 500001;
	public int DATABASE_ERROR = 500002;
	public int UPLOAD_FILE_FAIL = 500003;
	
}
